all: dvi ps pdf

dvi: acmse.tex
	latex acmse
	bibtex acmse
	latex acmse
	latex acmse

ps: acmse.dvi
	dvips -Ppdf -G0 -f < acmse.dvi  > acmse.ps

pdf:	acmse.ps
	ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.3 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoFilterColorImages=false -dAutoFilterGrayImages=false -dColorImageFilter=/FlateEncode  -dGrayImageFilter=/FlateEncode -dMonoImageFilter=/FlateEncode acmse.ps acmse.pdf

nobib:	acmse.tex
	latex acmse
	dvips -Ppdf -G0 -f < acmse.dvi  > acmse.ps
	ps2pdf -dMaxSubsetPct=100 -dCompatibilityLevel=1.3 -dSubsetFonts=true -dEmbedAllFonts=true -dAutoFilterColorImages=false -dAutoFilterGrayImages=false -dColorImageFilter=/FlateEncode  -dGrayImageFilter=/FlateEncode -dMonoImageFilter=/FlateEncode acmse.ps acmse.pdf

clean:
	rm acmse.pdf
	rm acmse.ps
	rm acmse.dvi
	rm acmse.aux
	rm acmse.log
	rm acmse.bbl
	rm acmse.blg

